﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace MvcBookingTour.Models
{
    public class TravellerModels
    {
        [Table("UserProfile")]
        public class Traveller
        {
            [Key]
            [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
            public int TravellerID { get; set; }
            public string Name { get; set; }
            public string IdCard { get; set; }
            public int Age { get; set; }
            public bool Sex { get; set; }
            public string Email { get; set; }
            public string Phone { get; set; }
            public string Address { get; set; }
            public string Country { get; set; }
        }
    }
}